package com.atgouwu.mall.member.service;

import com.atgouwu.mall.member.vo.MemberUserLoginVo;
import com.atgouwu.mall.member.vo.MemberUserRegisterVo;
import com.atgouwu.mall.member.vo.SocialUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atgouwu.mall.common.utils.PageUtils;
import com.atgouwu.mall.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author heran
 * @email sunlightcs@gmail.com
 * @date 2024-02-22 15:12:54
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberUserRegisterVo vo);

    MemberEntity login(MemberUserLoginVo vo);

    MemberEntity login(SocialUser socialUser) throws Exception;

}

